
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '       E X T E R N A L   C O M M A N D S   T E S T E R   - - -   S E N D 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ E x t e r n a l C o m m a n d s   =   1 
 
 
 
 B u t t o n   1   L a b e l   B e e p 
 
 B u t t o n   2   L a b e l   W a i t S l o t 3 
 
 B u t t o n   3   L a b e l   C o m m a n d 3 
 
 
 
 S t o p 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   N u m e r i c   S C 1               ' < - -   P a r a m e t e r   D e s t i n a t . - S l o t 
 
 	 V a r i a b l e   S t r i n g     S C 2               ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 V a r i a b l e   N u m e r i c   S C 3   =   0 . 5   ' < - -   T h e   t i m e o u t   i n   s e c o n d s 
 
 	 V a r i a b l e   N u m e r i c   S C 4 
 
 	 S l o t T e x t   S C 1   =   S C 2 
 
 	 F o r   S C 4   =   0 . 1   T o   S C 3   S t e p   0 . 1 
 
 	 	 I f   S l o t T e x t ( S C 1 )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C O M M A N D S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 L a b e l   B e e p 
 
 	 S e n d C o m m a n d ( S l o t _ E x t e r n a l C o m m a n d s ) ( " B e e p " ) 
 
 R e t u r n 
 
 L a b e l   W a i t S l o t 3 
 
 	 S e n d C o m m a n d ( S l o t _ E x t e r n a l C o m m a n d s ) ( " W a i t S l o t 3 " ) 
 
 R e t u r n 
 
 L a b e l   C o m m a n d 3 
 
 	 S e n d C o m m a n d ( S l o t _ E x t e r n a l C o m m a n d s ) ( " C o m m a n d 3 " ) 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   v 1 
 
 ' E X E C   D e s t X   =   1 2 
 
 